package com.weizhi.server.mapper;

import com.weizhi.server.entity.User;

import java.util.List;

public interface UserMapper {

    List<User> list();

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUsername(String username);
}